#Settings for combined speckle correlation server/client processes
#Version 2
#T. Charrett 2015
#task settings indicates which processing thread to use:
#Speckle velocimetry tasks
#   'SV (ximea/double frame)' - fixed rate sampling using Ximea camera
#   'SV (baumer/double frame)' - fixed rate sampling using Baumer camera
#   'SV (file/double frame)' - loading data from file
#   'SV (ximea/ring buffer)' - using Ximea camera frame rate
#Speckle displacment sensing tasks
#   'SD (ximea)' - using ximea camera
task = SD (ximea)

[camera]
#Common camera settings
binning = 1
roi = 0,0,512,512
exp_time = 600
frame_rate = 500
pixel_size = 4.8

[geometry]
#sensor head geometry settings
Cxx = 0.035
Cxy = 1.9858
Cyx = -1.9867
Cyy = 0.0362
theta_z = 0.0

[SD (ximea)]
#settings for SD mode:
#   save_to_file = save images to file
#   save_only = only save images to file do not process
#   filepath = file to load images from
#   sub_bg = subtract the background image from images
#   correlation_method = fft method to use
#   win_shape = shape of window in images to correlate
#   peak_fit_method = peak fitting method to use
#   peak_fit_accuracy  = accuracy of peak fitting
#   peak_fit_zero_adj  = factor to reduce zero shift peak by in fitting (mainly used with phase correlation which gives a strong peak
save_to_file = False
save_only = False
filepath = 
sub_bg = False
correlation_method = Circular cross-correlation [FFT]
win_shape = 128,128
peak_fit_method = Gaussian (circ. cor.)
peak_fit_accuracy = 0.01
peak_fit_zero_adj = 0.0

